/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 15:00:33
 */
import request from '@/utils/request'

export function qr_printerAdd(data) {
  return request({
    url: '/wmyw/qr_printer/add',
    method: 'post',
    data
  })
}

export function qr_printerUpdate(data) {
  return request({
    url: '/wmyw/qr_printer/update',
    method: 'post',
    data
  })
}

export function qr_printerDel(data) {
  return request({
    url: '/wmyw/qr_printer/del',
    method: 'post',
    data
  })
}

export function qr_printerSelect(data) {
  return request({
    url: '/wmyw/qr_printer/select',
    method: 'post',
    data
  })
}

export function qr_printerSelectpage(data) {
  return request({
    url: '/wmyw/qr_printer/selectpage',
    method: 'post',
    data
  })
}

export function qr_printerSelecttree(data) {
  return request({
    url: '/wmyw/qr_printer/selecttree',
    method: 'get',
    params:data
  })
}

export function qr_printerInfo(data) {
  return request({
    url: '/wmyw/qr_printer/info',
    method: 'get',
    params:data
  })
}